package com.hjw.inheritance.exer2;

/**
 * @author hjwStrart
 * @create 2022-01-12 15:23
 */
public class Train extends Vehicle{
    @Override
    public void move() {
        System.out.println("火车在轨道上行驶。");
    }
}
